import axios from "../utils/axios"

// 获取用户信息
export const GET_PLAYER = (params) => axios.get("/player", { params })
// 删除用户信息
export const DELETE_PLAYER = (id) => axios.delete("/player/" + id)
// 修改用户信息
export const PATCH_PLAYER = (id, data) => axios.patch("/player/" + id, data)
// 添加用户信息
export const POST_PLAYER = (data) => axios.post("/player", data)